package com.ruoyi.video.mapper;

import java.util.List;
import com.ruoyi.video.domain.VideoImages;
import org.apache.ibatis.annotations.Param;

/**
 * videoMapper接口
 * 
 * @author ruoyi
 * @date 2025-03-23
 */
public interface VideoImagesMapper 
{
    /**
     * 查询video
     * 
     * @param id video主键
     * @return video
     */
    public VideoImages selectVideoImagesById(Long id);

    /**
     * 查询video列表
     * 
     * @param videoImages video
     * @return video集合
     */
    public List<VideoImages> selectVideoImagesList(VideoImages videoImages);

    /**
     * 新增video
     * 
     * @param videoImages video
     * @return 结果
     */
    public int insertVideoImages(VideoImages videoImages);

    /**
     * 修改video
     * 
     * @param videoImages video
     * @return 结果
     */
    public int updateVideoImages(VideoImages videoImages);

    /**
     * 删除video
     * 
     * @param id video主键
     * @return 结果
     */
    public int deleteVideoImagesById(Long id);

    /**
     * 批量删除video
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteVideoImagesByIds(Long[] ids);

    public int deleteVideoImagesByVideoId(Long videoId);

    public int insertVideoImageList(@Param("videoId") Long videoId, @Param("list") List<VideoImages> list);
}
